# 
# Do NOT Edit the Auto-generated Part!
# Generated by: spectacle version 0.22
# 
# >> macros
# << macros

Name:       com.mikeasoft.tizmee
Summary:    Tizmee
Version:    0.1
Release:    1
Group:      Applications/Emulators
License:    Apache
URL:        http://blog.mikeasoft.com/tag/tizmee
Source0:    tizmee_0.1-1.tar.gz
Requires:   libqtwebkit-qmlwebkitplugin
Requires:   python-pyside
BuildRequires:  pkgconfig(QtCore) >= 4.7.0
BuildRequires:  pkgconfig(QtGui)
BuildRequires:  pkgconfig(QtWebKit)
BuildRequires:  pkgconfig(QtOpenGL)
BuildRequires:  pkgconfig(QtLocation)
BuildRequires:  pkgconfig(QtFeedback)
BuildRequires:  pkgconfig(QtDeclarative)
BuildRequires:  meegotouch-applauncherd-devel
BuildRequires:  desktop-file-utils


%description
Run Tizen web apps on Nemo.



%prep
%setup -q -n tizmee

# >> setup
# << setup

%build
# >> build pre
# << build pre

export CFLAGS="$CFLAGS -DMEEGO_VERSION_MAJOR=1 -DMEEGO_VERSION_MINOR=1 -DMEEGO_EDITION_HARMATTAN=1"
export CXXFLAGS="$CXXFLAGS -DMEEGO_VERSION_MAJOR=1 -DMEEGO_VERSION_MINOR=1 -DMEEGO_EDITION_HARMATTAN=1"
%qmake MEEGO_VERSION_MAJOR=1 MEEGO_VERSION_MINOR=1 MEEGO_EDITION_HARMATTAN=1

make %{?jobs:-j%jobs}

# >> build post
# << build post
%install
rm -rf %{buildroot}
# >> install pre
# << install pre
%qmake_install

# >> install post
# << install post
desktop-file-install --delete-original       \
  --dir %{buildroot}%{_datadir}/applications             \
   %{buildroot}%{_datadir}/applications/*.desktop






%files
%defattr(-,root,root,-)
%{_datadir}/applications/tizmee.desktop
/opt/tizmee
# >> files
# << files


